import {Ajax} from "../utils/request"

const getUser = () => Ajax.get("/api/user")//获取个人信息接口

const updateUser = (data) => Ajax.put("/api/user",data)//修改个人信息接口
 
const passwordUpdate = data => Ajax.post("/api/auth/password/update",data)//修改密码接口

export {
  getUser,
  updateUser,
  passwordUpdate
}